package com.xbongbong.paas.toolbox.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 模块(即表单或统计)权限Pojo
 * @author kaka
 * @time 2018-10-22 9:37
 */
@Getter
@Setter
@ToString
public class ModulePermissionPojo implements Serializable {

    private static final long serialVersionUID = 9005196708369172061L;

    /**
     * 模块id，即对应menuId
     */
    private Long id;

    /**
     * 类型，参见{@link com.xbongbong.paas.enums.ModuleTypeEnum#code}
     */
    private Integer type;

    /**
     * 权限项，包含操作权限和数据权限
     */
    private PermissionTermsPojo permission;

}
